package com.xxxy.dongyexuan.config;


import com.xxxy.dongyexuan.interceptor.LoginInterceptor;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;

@Configuration
@EnableConfigurationProperties(AlipayLocalConfig.class)
public class SelfConfiguration implements WebMvcConfigurer {
//
//  @Override
//    public void addInterceptors(InterceptorRegistry registry){
//     LoginInterceptor loginInterceptors = new LoginInterceptor();
//     registry.addInterceptor(loginInterceptors).addPathPatterns("/**");
//  }

}
